<template>
  <div id="app">
    <div id="nav">
    </div>
   <!-- 路由缓存  -->
    <keep-alive>
         <router-view v-if="$route.meta.keepAlive"/>
    </keep-alive>
      <router-view v-if="!$route.meta.keepAlive"/>
  </div>
</template>
